import request from '@/utils/request'

//图片显示基础路径
export function getBasePath() {
  return request({
    url: `/file/base-path`,
    method: 'get'
  })
}


// 获取区域
export function getCitys(params) {
  return request({
    url: `/pub/citys`,
    method: 'get',
    params,
  });
}

export function getCityDetail(id) {
  return request({
    url: `/pub/citys/${id}`,
    method: 'get',
  });
}
